import { Component, OnInit } from '@angular/core';
import { Router } from "@angular/router";

@Component({
    selector: 'app-index',
    templateUrl: './index.component.html',
    styleUrls: ['./index.component.css']
})

export class indexComponent {
  private menuList : any;
    constructor(private router:Router){

  }
  login(){
    this.router.navigate(['/home'])
  }

  sendMenu($event){
    this.menuList = $event;
  }

}
